Release 10.1A: OpenEdge Development:
Progress Dynamics Web Development Guide
Invoking JavaScript APIs from the server
You use the UI Manager’s
setClientActionprocedure to invoke JavaScript APIs from the server. Typically, you usesetClientActionto implement a UI change on the DHTML client in response to some condition created by the server-side business logic.For example, the following code hides the
address2field in thecustomerfulloWDO:
The
setClientActionprocedure runs separately for each WDO. (See the "WebDataObject (wdo)" section in Appendix A, "JavaScript API Reference," for a list of WDOs.) Calls tosetClientActionare queued until the end of the Web request, at which time they are sent to the DHTML client as part of the response data stream.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |